<?php

    namespace Omega\Validate {
        
        class String extends \Omega\Core\Types\String implements Generic {
            
            public function __construct($string=NULL){
                
                parent::__construct($string=NULL);
                
                
            }

            public function validate(){

                echo "LALA";

            }

            public function isAlpha(){

            return preg_match("#^[a-zA-Z0-9_-]+$#",$this->_string);

            }

            public function isNumerical() {

                return preg_match("#^[0-9]+$#",$this->_string);

            }


        }
        
        
    }


?>
